package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "常购商品")
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatOftenBuyProductFeign {

    /**
     * 品牌闪购详情
     * @param jsonObject
     * @param pageSize
     * @return
     */
    @ApiOperation("品牌闪购详情")
    @PostMapping("/wechat/member/oftenbuyproductmgr/oftenbuyproductlist")
    String oftenbuyproductlist(@RequestParam("jsonObject") JSONObject jsonObject ,@RequestParam("start") Integer start, @RequestParam("pageSize") Integer pageSize);
}
